﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SharpErp.Data.Common.Entity
{
    [Serializable]
    [Table("material_eight_class")]
    public class MaterialEightClass : BaseEntity
    {
        [Column("id")]
        public int Id { get; set; }

        [Column("parent_id")]
        public int ParentId { get; set; }

        [Column("name")]
        public string Name { get; set; }

        [Column("code")]
        public string Code { get; set; }

        [Column("standard")]
        public string Standard { get; set; }

        [Column("pcount")]
        public string Pcount { get; set; }

        [Column("unit")]
        public string Unit { get; set; }
        
        [Column("complete_count")]
        public double CompleteCount { get; set; }

        [Column("complete_area")]
        public double CompleteArea { get; set; }

        [Column("complete_price")]
        public double CompletePrice { get; set; }

        [Column("complete_in_price")]
        public double CompleteInPrice { get; set; }

        [Column("complete_new_in_price")]
        public double CompleteNewInPrice { get; set; }

        [Column("safe_time")]
        public string SafeTime { get; set; }

        [Column("facility")]
        public string Facility { get; set; }

        [Column("qichu")]
        public int Qichu { get; set; }

        [Column("xianchu")]
        public int Xianchu { get; set; }

        [Column("inventory")]
        public int Inventory { get; set; }

        [Column("material")]
        public string Material { get; set; }

        [Column("parent_desc")]
        public string ParentDesc { get; set; }

        [Column("manufactor")]
        public string Manufactor { get; set; }
    }
}
     
